package com.web.wefun.service;

import com.web.wefun.entity.User;

import java.util.List;

public interface UserService {

    boolean findUserByName(String username);

    boolean findPhoneByName(String username);

    boolean resetPassword(String password);

    boolean addUser(User user);

    User selectUserByNameAndPassword(User user);

    int insertUser(User user) ;

    User selectUserById(Integer id);

    List<User> selectAll();

}
